/*
 * Copyright (C) RT, 2017 by kiterunner_t
 * TO THE HAPPY FEW
 */

package com.guijq.graphqldemo;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;


@Component
@Slf4j
public class GraphqlDemoStarter implements CommandLineRunner {

    @Override
    public void run(String... args) {
        try {

            log.info("启动成功");
        } catch (Exception ex) {
            log.error("HMI 启动失败", ex);
            System.exit(1);
        }
    }

}

